﻿
using System;

namespace Koonsoft.HYCRM.Model
{
    /// <summary>
    /// 员工信息
    /// </summary>
    public class EmpolyeeInfo
    {
        /// <summary>
        /// 员工编号
        /// </summary>
        public int EmpolyeeID { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 登录账号
        /// </summary>
        public string LoginName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleID { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }

        /// <summary>
        /// 令牌环的条形码
        /// </summary>
        public string Barcode { get; set; }

        /// <summary>
        /// 入职日期
        /// </summary>
        public DateTime EntryTime { get; set; }


        /// <summary>
        /// 基本工资
        /// </summary>
        public int BasicWage { get; set; }

        /// <summary>
        /// 生活补助
        /// </summary>
        public int LivingSubsidy { get; set; }

        /// <summary>
        /// 保密费
        /// </summary>
        public int Confidential { get; set; }

        /// <summary>
        /// 其他
        /// </summary>
        public int Other { get; set; }

        /// <summary>
        /// 扩展信息
        /// </summary>
        public EmpolyeeInfoExpansion Expansion { get; set; }
    }

    /// <summary>
    /// 员工扩展信息
    /// </summary>
    public class EmpolyeeInfoExpansion
    {
        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; }

        /// <summary>
        /// 生日
        /// </summary>
        public DateTime Birthday { set; get; }

        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { set; get; }

        /// <summary>
        /// 住址
        /// </summary>
        public string Address { set; get; }

        /// <summary>
        /// 身份证件
        /// </summary>
        public string IdCard { set; get; }
    }
}
